import request from "@/api/request.js"
// 详细订单接口页

// 查询订单列表
function findAllOrders(){
	return request({
		url:"/lejuClient/order/findAllOrders"
	})
}
//退单列表
function orderReturnApplys(){
	return request({
		url:"/lejuClient/orderReturn/orderReturnApplys"
	})
}
//取消订单
function cancelOrder(orderId){
	return request({
		url:`/lejuClient/order/cancelOrder/${orderId}`,
	
		method:"POST"
	})
}
export{
	findAllOrders,
	orderReturnApplys,
	cancelOrder
}